import { AutoIncrementId, Code, CreateDate, Money, PrimaryUuid, Uuid } from "../utils";
import { Entity } from "typeorm";

@Entity({ name: 'fuli_activity_use' })
export class FuliActivityUse { 
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    use_id: number;

    @Uuid()
    activity_log_id: string;

    @Money()
    money: number;

    @Code()
    status: string;

    @Uuid()
    member_id: string;

    @CreateDate()
    create_date: Date;

    @Uuid()
    order_id: string;
}